package com.zzq.my.jetpacks.jectpackapp.ui.stickyheaderrecyclerview;

import com.zzq.my.jetpacks.jectpackapp.R;

import tellh.com.stickyheaderview_rv.adapter.DataBean;
import tellh.com.stickyheaderview_rv.adapter.StickyHeaderViewAdapter;

public class Item  extends DataBean {
    public final String title;
    public final String message;

    public Item(String title, String message) {
        this.title = title;
        this.message = message;
    }

    @Override
    public int getItemLayoutId(StickyHeaderViewAdapter stickyHeaderViewAdapter) {
        return R.layout.item_view;
    }

    @Override
    public boolean shouldSticky() {
        return super.shouldSticky();
    }
}
